package cn.edu.jsu.official.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Mo
 * @createTime 2022/3/19 22:30
 * @description
 */

@Data
@Document(collection = "user_info")
public class UserInfo {
    @Id
    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("用户联系方式")
    private String userTel;

    @ApiModelProperty("用户邮箱")
    private String userEmail;
}
